package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Haoyouhongbao;
import java.util.List;	

/**
 * 好友下载红包 数据层
 * 
 * @author ruoyi
 * @date 2019-07-16
 */
public interface HaoyouhongbaoMapper 
{
	/**
     * 查询好友下载红包信息
     * 
     * @param haoyouhongbaoId 好友下载红包ID
     * @return 好友下载红包信息
     */
	public Haoyouhongbao selectHaoyouhongbaoById(Integer haoyouhongbaoId);
	
	/**
     * 查询好友下载红包列表
     * 
     * @param haoyouhongbao 好友下载红包信息
     * @return 好友下载红包集合
     */
	public List<Haoyouhongbao> selectHaoyouhongbaoList(Haoyouhongbao haoyouhongbao);
	
	/**
     * 新增好友下载红包
     * 
     * @param haoyouhongbao 好友下载红包信息
     * @return 结果
     */
	public int insertHaoyouhongbao(Haoyouhongbao haoyouhongbao);
	
	/**
     * 修改好友下载红包
     * 
     * @param haoyouhongbao 好友下载红包信息
     * @return 结果
     */
	public int updateHaoyouhongbao(Haoyouhongbao haoyouhongbao);
	
	/**
     * 删除好友下载红包
     * 
     * @param haoyouhongbaoId 好友下载红包ID
     * @return 结果
     */
	public int deleteHaoyouhongbaoById(Integer haoyouhongbaoId);
	
	/**
     * 批量删除好友下载红包
     * 
     * @param haoyouhongbaoIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteHaoyouhongbaoByIds(String[] haoyouhongbaoIds);
	
}